package com.lzhsite.technology.designPattern.factory.TextImageReadDemo;

public class TestFactory {

	public static void main(String[] args) {
		TextFactory textFactory = (TextFactory) AbstractFactory.create(TextFactory.class);
		IRead iRead = textFactory.create();
		iRead.read("test.txt","utf-8");
	}
}
